import { Request, Response } from 'express';
import { StatusCodes } from 'http-status-codes';
import { ApiError } from '../utils/ApiError';

export const notFoundHandler = (_req: Request, _res: Response) => {
  throw new ApiError(
    StatusCodes.NOT_FOUND,
    'Resource not found'
  );
};
